package cn.itcast.service;

import cn.itcast.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderSettingService {

    /**
     * 根据月份查询
     *
     * @param date
     * @return
     */
    List<Map<String, String>> getOrderSettingsByMonth(String date);

    /**
     * 文件上传
     *
     * @param orderSettingList
     */
    void upload(List<OrderSetting> orderSettingList);

    /**
     * 更新预约人数
     *
     * @param orderSetting
     */
    void updateOrderSettingNumber(OrderSetting orderSetting);
}
